/**
 * @author Stéphane LaFlèche <stephane.l@vanillaforums.com>
 * @copyright 2009-2019 Vanilla Forums Inc.
 * @license GPL-2.0-only
 */

@mixin objectFitWithFallback() {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    height: auto;
    width: 100%;
    @supports (object-fit: cover) {
        object-fit: cover;
        object-position: center;
        height: 100%;
    }
}
